<!DOCTYPE html>
<html>
  
  <head>
    <meta charset="UTF-8">
    <title>新增日志</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width,user-scalable=yes, minimum-scale=0.4, initial-scale=0.8,target-densitydpi=low-dpi" />
    <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
    <link rel="stylesheet" href="/static/css/font.css">
    <link rel="stylesheet" href="/static/css/xadmin.css">
    <script type="text/javascript" src="/static/js/jquery.min.js"></script>
    <script type="text/javascript" src="/static/lib/layui/layui.js" charset="utf-8"></script>
    <script type="text/javascript" src="/static/js/xadmin.js"></script>
    <!-- 让IE8/9支持媒体查询，从而兼容栅格 -->
    <!--[if lt IE 9]>
      <script src="https://cdn.staticfile.org/html5shiv/r29/html5.min.js"></script>
      <script src="https://cdn.staticfile.org/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
  </head>
  
  <body>
    <div class="x-nav">
      <a class="layui-btn layui-btn-small" style="line-height:1.6em;margin-top:3px;float:right" href="javascript:location.replace(location.href);" title="刷新">
        <i class="layui-icon" style="line-height:30px">ဂ</i></a>
    </div>
    <div class="x-body">
      <table class="layui-hide" id="demo" lay-filter="user"></table>
    </div>
    <script type="text/html" id="barDemo">
      <a title="查看"  lay-event='view'>
        <i class="layui-icon">&#xe638;</i>
      </a>
    </script>
    <script>
      layui.use('table',function(){
        var table = layui.table;
        //执行一个laydate实例
        table.render({
          elem:'#demo',
          method:'post',
          url:'/error_logdata/',
          toolbar:'#toolbarDemo',
          defaultToolbar:['filter','exports','print'],
          cellMinWidth:80,
          id:'pushReload',
          page:true
          ,cols:[[
             {field:'number_id',title:'报错ID',sort:true}
            ,{field:'number_type',title:'主号副号',sort:true}
            ,{field:'error_content',title:'报错内容'}
            ,{field:'error_time',title:'报错时间'}
            ,{field:'apply_user',title:'报错人'}
          ]]
        });
      });
    </script>
  </body>

</html>